package com.bskj.common.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bskj.common.bean.model.UserCoupon;
import com.bskj.common.dao.core.BaseDao;

public interface UserCouponDao extends BaseDao<UserCoupon> {

    public List<UserCoupon> findCascade(UserCoupon userCoupon) throws Exception;

    public List<Map<String, Object>> getDailyReleases(@Param("parkingLotCustomerId") String parkingLotCustomerId,@Param("beginDate") Date beginDate,@Param("endDate") Date endDate) throws Exception;

    public Integer getDailyTotal(@Param("parkingLotCustomerId") String parkingLotCustomerId,@Param("beginDate") String beginDate,@Param("endDate") String endDate,@Param("couponId") Integer couponId) throws Exception;

}